package edu.guet.observer.exmple;

public class NBAObserver extends Observer {


    public NBAObserver(String name, Subject subject) {
        super(name, subject);
    }

    @Override
    public void update() {
        System.out.println(subject.getAction() + " " + name + " 关闭NBA，请继续工作");
    }
}
